[?php if ($sf_user->hasFlash('notice')): ?]
  <div class="notice">[?php echo __($sf_user->getFlash('notice'), array(), 'sf_admin') ?]</div>
[?php endif; ?]

[?php if ($sf_user->hasFlash('batch_executed')): ?]
  <div class="batch_executed">
    <ul>
      [?php foreach ($sf_user->getFlash("batch_executed") as $value): ?]
        <li>[?php echo strval($value) ?]</li>
      [?php endforeach ?]
    </ul>
  </div>
[?php endif ?]

[?php if ($sf_user->hasFlash('error')): ?]
  <div class="error">[?php echo __($sf_user->getFlash('error'), array(), 'sf_admin') ?]</div>
[?php endif; ?]

[?php if ($sf_user->hasFlash('batch_not_executed')): ?]
  <div class="batch_not_executed">
    <ul>
      [?php foreach ($sf_user->getFlash("batch_not_executed") as $value): ?]
        <li>[?php echo strval($value) ?]</li>
      [?php endforeach ?]
    </ul>
  </div>
[?php endif ?]


[?php if ($sf_user->hasFlash('warning')): ?]
  <div class="sf_warning">[?php echo __($sf_user->getFlash('warning'), array(), 'sf_admin') ?]</div>
[?php endif; ?]
